fixed portable library on windows. i hate windows.