compile the asset