Depend on buildNative task when compiling
Fixes non-existing directory and invalid path errors in copyNative