Compile assets programmatically