(core+build) path fixes and first arcan_general split