Maybe you setup the PRAGMA_PATH wrong. At the top of your main.c it should look something like this :
#define PRAGMA_PATH "models"
#define PRAGMA_PATH "audio"
#define PRAGMA_PATH "scripts"
#define PRAGMA_PATH "scripts\some_sub_directory"
#define PRAGMA_PATH "levels"
Then when you run your main.c, it should find all the scripts.