Fix some corelib functions not being exported