Fixed path and made shaders work, removed segmentation fault.
Symlinked resources to debug folder, for linux
Made the build script a bit better