Everything seems to be working now. Improved compile script.